eb2c375be2d9618532457ef75f73e48ec62a4e23,workbench/source/jetbrains/mps/workbench/dialogs/newproject/SolutionStep.java,SolutionStep,_commit,#boolean#,81
Before Change
throw new CommitStepException("Path should be absolute");
}
if (!(dir.exists())) {
if (!(DirectoryUtil.askToCreateNewDirectory(JOptionPane.getFrameForComponent(myComponent), dir))) {
throw new CommitStepException("Enter correct path");
}
}
After Change
throw new CommitStepException("Path should be absolute");
}
if (!(dir.exists())) {
boolean created = DirectoryUtil.askToCreateNewDirectory(JOptionPane.getFrameForComponent(myComponent), dir);
if (!created) {
throw new CommitStepException("Specify another directory");
}
}